#ifndef FOOD_H
#define FOOD_H

#include "GameObject.h"
#include <vector>

class Food : public GameObject {
private:
    std::vector<int> position;
    void drawUnitBlock(int body_x, int body_y, const char* pic);
public:
    Food(const std::vector<std::vector<int>>& snakeBody);
    void draw() override;
    std::vector<int> getPosition();
    void regenerate(const std::vector<std::vector<int>>& snakeBody);
};

#endif